Crate musli_utils

source ·
Expand description

github crates.io docs.rs

Common utilities shared by Müsli encodings.

The Reader and Writer traits are defined in here which determined the types that can be used in collaboration with Müsli.

Please refer to https://docs.rs/musli for documentation.

Modules§

  • github crates.io docs.rs
  • Utilitioes for working with buffers.
  • Helper types to set up a basic Müsli Context.
  • Containers which can store up to a fixed number of uninitialized bytes on the stack and read into and from it.
  • Traits and utilities for dealing with integers.
  • Serialization options.
  • Trait for governing how a particular source of bytes is read.
  • Helpers for integrating musli with I/O types like std::io and std::io::Write.
  • Trait for governing how a particular sink of bytes is written to.

Structs§

  • A fixed-size bytes storage which keeps track of how much has been initialized.

Traits§

  • Trait governing how a source of bytes is read.
  • The trait governing how a writer works.

Type Aliases§

  • Type encapsulating a static flavor of an encoding.